import React, { Component } from 'react';
import { connect } from 'dva';
import { Link } from 'dva/router';
import { Checkbox, Alert, Icon, Input } from 'antd';

import Login from 'components/Login';
import styles from './Login.less';

import config from '../../common/config';

const md5 = require('md5');

const { Tab, UserName, Password, Mobile, Captcha, Submit } = Login;

@connect(({ login, loading }) => ({
  login,
  submitting: loading.effects['login/login'],
}))
export default class LoginPage extends Component {
  render() {
    console.log("--------------进来了吗-----------------");
    this.props.dispatch({
      type: 'login/index',
      payload: {

      },
    });
    return "123";
  }
}
